<extend name="Public/base" />
<block name="body">
    <div class="main-title">
         <h2>添加请假类型</h2>
    </div>
    <div class="tab-wrap with-padding">
       
        <div class="node-list">
            <div class="tab-pane in">
                <form action="{:U('addtype')}" method="POST" class="form-horizontal auth-form">
                 <input type="hidden" name="id" value="" />
                    <div class="form-item cf">
                        <label class="item-label">请假类型<span class="check-tips"></span></label>

                        <div class="controls">
                            <input type="text" class="text input-large form-control form-input-width" name="title" value="" placeholder="请输入请假类型的名称,最多20个字符" maxlength="20">       
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">排序<span class="check-tips">（从小到大排序）</span></label>
                        
                        <div class="controls" id="structure">
                           <input type="text" class="text input-large form-control form-input-width" name="sort" value="" placeholder="请输入排序号码"><br>
                        </div>
                    </div>
                    <div style="margin-top: 20px;"></div>
                    <button type="submit" class="btn submit-btn ajax-post" target-form="auth-form">{:L("_SURE_WITH_SPACE_")}</button>
                    <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
                    <!-- <input type="submit" name=""/> -->
                </form>
            </div>
        </div>
    </div>

</block>
<block name="script">
    <script type="text/javascript" src="__STATIC__/qtip/jquery.qtip.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/qtip/jquery.qtip.min.css" media="all">
    <script type="text/javascript" charset="utf-8">
       
        //导航高亮
        highlight_subnav('{:U('type')}');
    </script>
</block>
